/*
 * cpp.h
 *
 *  Created on: 2014-4-29
 *      Author: shengsun
 */

#ifndef CPP_H_
#define CPP_H_

struct Rect {
	int x;
	int y;
};


void Foo(int x = 10, int y = 20, int z = 30);

int method1(struct Rect* p);
int method2(struct Rect& p);
int method3(struct Rect p);

int method4();
int method5();
int method6();

void foo(int a);
void foo(double a);

#endif /* CPP_H_ */
